Imports Castle.ActiveRecord


''' <summary>
'''	Gerado por MyGeneration usando o template ActiveRecord Object Mapper-1.0.3
'''	Criado em 14/08/2010 00:29:39
''' </summary>
''' <remarks></remarks>

<Serializable(), ActiveRecord("pessoaramo", DynamicUpdate:= true)> _
Public Class Pessoaramo
	Inherits ActiveRecordBase(Of Pessoaramo)
	
    'Private _Ramo As IList(Of Ramo)
    'Private _Pessoa As IList(Of Pessoa)
	Private _cd_pessoa As Long


    '<BelongsTo("cd_ramo")> _
    'Public Property Ramo() As IList(Of Ramo)
    '    Get
    '        Return _Ramo
    '    End Get
    '    Set(ByVal value As IList(Of Ramo))
    '        _Ramo = value
    '    End Set
    'End Property

    '<BelongsTo("cd_pessoa")> _
    'Public Property Pessoa() As IList(Of Pessoa)
    '    Get
    '        Return _Pessoa
    '    End Get
    '    Set(ByVal value As IList(Of Pessoa))
    '        _Pessoa = value
    '    End Set
    'End Property

	<[Property]("cd_pessoa", NotNull:=true)> _
	Public Property cd_pessoa() As Long
		Get
			Return _cd_pessoa
		End Get
		Set(ByVal value As Long)
			_cd_pessoa = value
		End Set
	End Property
End Class
